// TestRtpRtcp.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//


#include <iostream>
#include "pcapParse.h"
int main()
{
	// 输入rtp 流，输出264 

	CRtpManage tCRtpManage;
	int ret = tCRtpManage.init("h264.pcap");
	printf("init ret:%d \n", ret);
	std::list<shared_ptr<rtpPacket> > olistRtp;
	tCRtpManage.getList(olistRtp);

	for (std::list<shared_ptr<rtpPacket> >::iterator it = olistRtp.begin(); it != olistRtp.end(); it++)
	{

		shared_ptr<rtpPacket> pkt = *it;
		printf("### len:%d \n", pkt->getPktLen());

	}



	std::cout << "Hello World!\n";
}
